/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import React from "react";
import { Popover } from "antd";
import question from "@/assets/question.svg";

const PopoverInfo = ({ children, title, trigger = "hover", ...rest }) => {
  return (
    <Popover content={children} title={title} trigger={trigger} {...rest}>
      <img alt="" style={{ cursor: "pointer", marginLeft: 5 }} src={question} />
    </Popover>
  );
};

export default PopoverInfo;
